package com.bdqn.service;

import com.bdqn.mapper.BookOrderMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("bookOrderService")
public class BookOrderServiceImpl implements BookOrderService {
    @Resource
    BookOrderMapper bookOrderMapper;
    @Override
    public int del(Long id) {
        return bookOrderMapper.del(id);
    }

    @Override
    public int upd(Long id) {
        return bookOrderMapper.upd(id);
    }
}
